package cn.com.baiwei.dto;

import cn.com.baiwei.pojo.OrderDetails;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author youngMoney
 * @Description //TODO $
 * @Date $ $
 * @Param $
 * @return $
 **/
public class SupplyDto implements Serializable {

    /**
     * 订货单编号
     */
    @ApiModelProperty(name = "orderId",notes = "订货单编号",dataType = "String",required = true)
    private String orderId;
    /**
     * 供货单位
     */
    @ApiModelProperty(name = "supplier",notes = "供货单位",dataType = "String",required = true)
    private String supplier;
    /**
     * 经手人
     */
    @ApiModelProperty(name = "recipient",notes = "经手人",dataType = "String",required = true)
    private String recipient;

    /**
     * 送货人
     */
    @ApiModelProperty(name = "delivery",notes = "送货人",dataType = "String",required = true)
    private String delivery;
    /**
     * 总金额
     */
    @ApiModelProperty(name = "totalMoney",notes = "总金额",dataType = "Double",required = true)
    private Double totalMoney;

    /**
     * 交货日期
     */
    @ApiModelProperty(name = "deliveryTime",notes = "交货日期",dataType = "Date",required = true)
    private Date deliveryTime;

    /**
     * 录入日期
     */
    @ApiModelProperty(name = "enteringTime",notes = "录入日期",dataType = "Date",required = true)
    private Date enteringTime;
    /**
     * 供货单状态
     */
    @ApiModelProperty(name = "orderStatus",notes = "供货单状态",dataType = "Integer",required = true)
    private Integer orderStatus;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark",notes = "备注",dataType = "String",required = true)
    private String remark;



    /**
     * 订单详情表
     */
    @ApiModelProperty(name = "orderDetailsList",notes = "订单详情表",dataType = "List",required = true)
    private List<OrderDetails> orderDetailsList;

    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Date getEnteringTime() {
        return enteringTime;
    }

    public void setEnteringTime(Date enteringTime) {
        this.enteringTime = enteringTime;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<OrderDetails> getOrderDetailsList() {
        return orderDetailsList;
    }

    public void setOrderDetailsList(List<OrderDetails> orderDetailsList) {
        this.orderDetailsList = orderDetailsList;
    }
}
